generate "uploader Image"

inject_into_file('app/models/user.rb', :after => %[class User < ActiveRecord::Base]) do
  %q{
  mount_uploader :avatar, ImageUploader
  }
end

Dir.glob("db/migrate/*_devise_create_users.rb").each do |file|
  inject_into_file(file, :after => %[      t.trackable]) do
    %q{
        # Carrierwave attribute
        t.string :avatar
    }
  end
end